import {
	request
} from "./request"
export default {
	// 获取收款账户列表
	list: (data) => {
		return request('/core/account/list', data,'GET')
	},
	// 修改收款账户
	account: (data) => {
		return request('/core/account', data,'PUT')
	},
	// 设为收款账户
	setDefault: (data) => {
		return request('/core/account/setDefault', data,'PUT')
	},
	// 添加收款账户
	add: (data) => {
		return request('/core/account', data,'POST')
	}
}